
package com.hazelcast.client.impl.spi.impl;

import com.hazelcast.cluster.Member;

import java.util.LinkedHashMap;
import java.util.UUID;

/**
 * Records the MemberList.
 * This class is thread safe as read and written under clusterViewLock.
 *
 * @param version     version of the member list.
 * @param members     all members in the cluster.
 * @param clusterUuid UUID of the cluster.
 */
public record MemberListSnapshot(int version, LinkedHashMap<UUID, Member> members, UUID clusterUuid) {
}
